From: Ray Strode Date: Mon, 29 Jul 2013 17:24:36 +0000 (-0400) Subject: authPrompt: disassociate from userVerifier when destroyed X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3836 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=69957dac3df4f8cf2abd90d68c0474e6fd1d635b;p=gnome-shell.git authPrompt: disassociate from userVerifier when destroyed Otherwise, it won't get GC'd and we'll end up potentially calling its signal handlers after destruction. https://bugzilla.gnome.org/show_bug.cgi?id=683437 --- diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 0666294fe..6b2480b1b 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -123,6 +123,8 @@ const AuthPrompt = new Lang.Class({ _onDestroy: function() { this._userVerifier.clear(); + this._userVerifier.disconnectAll(); + this._userVerifier = null; }, _initButtons: function() {